<template>
    <div>

        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in lunbotuList" :key="item.img" :isfull="true">
                <img :src="item.img" alt="" :class="{'full':isfull}">
                <p>{{ item.tittle }}</p>
            </mt-swipe-item>
        </mt-swipe>

    </div>
</template>

<script>
    export default {
        name: "swiper",
        props: ["lunbotuList",'isfull']
    }
</script>

<style scoped lang="scss">
    .mint-swipe{height: 200px;
        .mint-swipe-item{
            &:nth-child(1){
                background: red;
            }
            &:nth-child(2){
                background: green;
            }
            :nth-child(1){
                background: black;
            }
            img{
                width: 100%;
            }
        }
        .full{
            height: 100%;
        }
    }
</style>